package com.codefish.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.codefish.entity.SysPermissionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 
 * 
 * @author codefish
 * @email cool_fish@aliyun.com
 * @date 2021-04-15 17:58:46
 */
@Repository
@Mapper
public interface SysPermissionDao extends BaseMapper<SysPermissionEntity> {

    /**
     * 逻辑删除,删除当前菜单及其下级菜单
     * @param ids
     */
    void updatePermissionStateAndIsDelByIds(String[] ids);
}
